import Mock from "mockjs";
import idApi from "./mockData/user";
import userApi from "./mockData/user2";
import permissionApi from "./mockData/permission";

// 拦截请求
// Mock.mock('/home/getData', homeApi.getHomeData)

// 本地获取user的数据
// Mock.mock(/idapi\/getIdData/, "get", idApi.getUserList);
// Mock.mock(/idapi\/addIdData/, "post", idApi.createUser);
// Mock.mock(/idapi\/updateIdData/, "post", idApi.updateUser);
// Mock.mock(/idapi\/deleteIdData/, "post", idApi.deleteUser);
// Mock.mock(/userapi\/userLogin/, "post", permissionApi.getMenu);

// Mock.mock(/userapi\/getUserData/, "get", userApi.getUserList);
// Mock.mock(/file\/upload/, "get", userApi.getupload);
